package cn.cdutetc.library.entity.dto;

import lombok.Data;
import java.util.List;

/**
 * 登录响应DTO
 */
@Data
public class LoginResponseDTO {
    private String token;
    private UserVO userInfo;
    private List<MenuDTO> menuList;
    private List<String> permissions;
    
    public LoginResponseDTO() {}
    
    public LoginResponseDTO(String token, UserVO userInfo, List<MenuDTO> menuList, List<String> permissions) {
        this.token = token;
        this.userInfo = userInfo;
        this.menuList = menuList;
        this.permissions = permissions;
    }
}